package com.yuke.cloud.service.uac.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.uac.entity.AccRoleMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccRoleMenuMapper extends MyMapper<AccRoleMenu> {

    /**
     * Gets checked menu list.
     *
     * @param roleId the role id
     *
     * @return the checked menu list
     */
    List<Long> getCheckedMenuList(@Param("roleId") Long roleId);

    List<String> getOwnMenuUrlList(@Param("userId") Long userId);
}